package com.ssm.vo;

import java.util.HashMap;

public class ResultSuccessInfo extends ResultInfo {

	private Object result;
    
    public ResultSuccessInfo() {
        super();
    }

    public ResultSuccessInfo(Object result) {
        super(ErrorCodeConsField.SUCCESS);
        this.result = result;

    }

    public ResultSuccessInfo(String errorCode, Object result) {
        this(errorCode);
        this.result = result;
    }

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		if (result == null) {
            this.result = new HashMap<String, Object>();
            return;
        }
        this.result = result;
	}
    
    
}
